package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

@Data
@TableName("work_arrange_areas")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "WorkArrangeAreas对象", description = "配工区域")
public class WorkArrangeAreas extends TenantEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "配工ID")
    private Long arrangeId;

    @ApiModelProperty(value = "配工类型")
    private String arrangeType;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "区域ID")
    private Long areaId;

}
